﻿namespace LDM.Admin.Models.ExpressionBuilderModel
{

    public class GetTablePropertystringRequest
    {
        public string TableName { get; set; }
    }

    public class GetTablePropertyInfoRequest
    {
        public string TableName { get; set; }

        public string? PropertyName { get; set; }
    }

    public class ExpressionBuilderRequest
    {
        public List<ExpressionInfo> ExpressionBuilders { get; set; } = new List<ExpressionInfo>();

        public int page { get; set; }

        public int rows { get; set; }
    }


    public class ExpressionInfo
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 属性名
        /// </summary>
        public string PropertyName { get; set; }

        /// <summary>
        /// 条件
        /// </summary>
        public string Condition { get; set; }

        /// <summary>
        /// 值1
        /// </summary>
        public string Value1 { get; set; }
        /// <summary>
        /// 值2
        /// </summary>
        public string? Value2 { get; set; }
        /// <summary>
        /// 值2
        /// </summary>
        public string? Value3 { get; set; }

    }


}
